package org.wuliu.pojo;

public class Fenqv {
    private Integer id;
    private String bianhao;
    private Integer fangxiangId;
    private String guanjian;
    private Integer qishi;
    private Integer zhongzhi;
    private Integer danshuan;
    private Integer qvpaiId;
    private String weizhi;
    private Quyv quyv;
    private Qvpai qvpai;

    public Integer getQvpaiId() {
        return qvpaiId;
    }

    public void setQvpaiId(Integer qvpaiId) {
        this.qvpaiId = qvpaiId;
    }

    public Qvpai getQvpai() {
        return qvpai;
    }

    public void setQvpai(Qvpai qvpai) {
        this.qvpai = qvpai;
    }

    public Quyv getQuyv() {
        return quyv;
    }

    public void setQuyv(Quyv quyv) {
        this.quyv = quyv;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBianhao() {
        return bianhao;
    }

    public void setBianhao(String bianhao) {
        this.bianhao = bianhao;
    }

    public Integer getFangxiangId() {
        return fangxiangId;
    }

    public void setFangxiangId(Integer fangxiangId) {
        this.fangxiangId = fangxiangId;
    }

    public String getGuanjian() {
        return guanjian;
    }

    public void setGuanjian(String guanjian) {
        this.guanjian = guanjian;
    }

    public Integer getQishi() {
        return qishi;
    }

    public void setQishi(Integer qishi) {
        this.qishi = qishi;
    }

    public Integer getZhongzhi() {
        return zhongzhi;
    }

    public void setZhongzhi(Integer zhongzhi) {
        this.zhongzhi = zhongzhi;
    }

    public Integer getDanshuan() {
        return danshuan;
    }

    public void setDanshuan(Integer danshuan) {
        this.danshuan = danshuan;
    }

    public String getWeizhi() {
        return weizhi;
    }

    public void setWeizhi(String weizhi) {
        this.weizhi = weizhi;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Fenqv fenqv = (Fenqv) o;

        if (id != null ? !id.equals(fenqv.id) : fenqv.id != null) return false;
        if (bianhao != null ? !bianhao.equals(fenqv.bianhao) : fenqv.bianhao != null) return false;
        if (fangxiangId != null ? !fangxiangId.equals(fenqv.fangxiangId) : fenqv.fangxiangId != null) return false;
        if (guanjian != null ? !guanjian.equals(fenqv.guanjian) : fenqv.guanjian != null) return false;
        if (qishi != null ? !qishi.equals(fenqv.qishi) : fenqv.qishi != null) return false;
        if (zhongzhi != null ? !zhongzhi.equals(fenqv.zhongzhi) : fenqv.zhongzhi != null) return false;
        if (danshuan != null ? !danshuan.equals(fenqv.danshuan) : fenqv.danshuan != null) return false;
        if (weizhi != null ? !weizhi.equals(fenqv.weizhi) : fenqv.weizhi != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (bianhao != null ? bianhao.hashCode() : 0);
        result = 31 * result + (fangxiangId != null ? fangxiangId.hashCode() : 0);
        result = 31 * result + (guanjian != null ? guanjian.hashCode() : 0);
        result = 31 * result + (qishi != null ? qishi.hashCode() : 0);
        result = 31 * result + (zhongzhi != null ? zhongzhi.hashCode() : 0);
        result = 31 * result + (danshuan != null ? danshuan.hashCode() : 0);
        result = 31 * result + (weizhi != null ? weizhi.hashCode() : 0);
        return result;
    }
}
